import React, { useState, useEffect } from 'react'
import { Table,Modal,Checkbox  } from 'antd'
import { Link } from "react-router-dom"

export default function LoaninterestrateList(props) {

  const [selectedRowKeys, setSelectedRowKeys] = useState([])
  const [resdata, setResData] = useState([])

  const [pageSize, setPageSize] = useState(10)
  const [pageSizeNow, setPageSizeNow] = useState(1)

  // 第几次


  const columns = [
    {
      title: '规则',
      dataIndex: 'guize',
    },
    {
      title: '适用期限',
      dataIndex: 'qixian',
    },
    {
      title: '综合利率',
      dataIndex: 'lilv',
    }
  ];


  const data = [];

  for (let i = 0; i < 8; i++) {
    data.push({
      key: i,
      guize: i + 1,
      qixian:(i + 1) * 3 + '月',
      lilv: 8 + i + '.0%',
    })
  }



  return (
    <div>
      <Table columns={columns} dataSource={data}
      />
    </div>
  );
}

